package com.sumqun.mall.mapper;

import java.util.List;
import java.util.Map;

import com.sumqun.mall.entity.Account;

public interface AccountMapper {
	// mybatis mapper by MapperScannerConfigurer

	public List<Account> findAllAccount(Map map);
	
	public int findAllCount(Map map);
	
	public Account findAccountById(int uid);	
	
	public Account verify(Map map);
	
	public Account findAccountByName(String username);

	public void addAccount(Account account);

	public void editAccount(Account account);

	public void removeAccount(int uid);

}
